---
layout: nil
---

doctype xml
feed xmlns="http://www.w3.org/2005/Atom"
    title type="text" = title
    subtitle type="text" = tagline
    link rel="self" type="application/atom+xml" href="https://ranmocy.me/atom.xml"
    link rel="alternate" type="text/html" href="https://ranmocy.me/"
    id = "https://ranmocy.me/"
    updated = articles.first.meta.created_at.to_time.iso8601
    author
        name = "Ranmocy"
        email = "ranmocy@gmail.com"
    rights = "Copyright (c) 1991-#{ Time.now.year } Ranmocy; All rights reserved."
    - articles.each do |article|
      entry
          title type="text" = article.meta.title
          link type="text/html" href="https://ranmocy.me/#{article.url}"
          link type="text/html" href="https://ranmocy.me/#{article.url}/index.html" rel="alternate"
          id = "urn:uuid:#{article.meta.category}:#{article.meta.title}"
          created   = article.meta.created_at.to_time.strftime('%Y-%m-%dT%H:%M:%S%z')
          updated   = article.meta.updated_at.to_time.strftime('%Y-%m-%dT%H:%M:%S%z')
          published = article.meta.created_at.to_time.strftime('%Y-%m-%dT%H:%M:%S%z')
          author
              name = "Ranmocy"
              email = "ranmocy@gmail.com"
          category term=article.meta.category.downcase
          content type="html" mode="escaped"
            == "<![CDATA[#{RDiscount.new(article.content).to_html}]]>"
